package com.dz51.core.validate.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.dz51.core.validate.vo.ValidateType;
@Target(ElementType.ANNOTATION_TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface ValidateItem{
    
    public ValidateType validateType(); 
    
    public String errorMsg();
    
    public int code() default 0;
}